package com.nft.service.school.feign;

import com.nft.service.school.resp.SchoolClassesResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "nft-service-school",contextId="classesClient", path = "/classesClient")
public interface ISchoolClassesClient {
    @RequestMapping(value = "/getUserClassesInfo", method = RequestMethod.GET)
    public SchoolClassesResp getUserClassesInfo(@RequestParam("userId") Integer userId);
}
